<template>
  <div>
    <h1>daughter</h1>
    <button @click='daughter_sendmsgto_son'>女儿发信息给儿子</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      data1: 22,
      data2: 33,
    };
  },
  methods: {
    daughter_sendmsgto_son() {
      // console.log(this.$bus);
      this.$bus.$emit("msg_between_sons", this.data1, this.data2);
    },
  },
};
</script>

<style>
</style>